<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>InfGtkBrowserView</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.0">
<link rel="home" href="index.html" title="libinfgtk-0.4 Reference Manual">
<link rel="up" href="ch01.html" title="libinfgtk API">
<link rel="prev" href="ch01.html" title="libinfgtk API">
<link rel="next" href="libinfgtk-0.4-inf-gtk-browser-model.html" title="inf-gtk-browser-model">
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="ch01.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">libinfgtk-0.4 Reference Manual</th>
<td><a accesskey="n" href="libinfgtk-0.4-inf-gtk-browser-model.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#InfGtkBrowserView.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#InfGtkBrowserView.description" class="shortcut">Description</a>
                   | 
                  <a href="#InfGtkBrowserView.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#InfGtkBrowserView.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
                   | 
                  <a href="#InfGtkBrowserView.properties" class="shortcut">Properties</a>
                   | 
                  <a href="#InfGtkBrowserView.signals" class="shortcut">Signals</a>
</td></tr>
</table>
<div class="refentry" title="InfGtkBrowserView">
<a name="InfGtkBrowserView"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="InfGtkBrowserView.top_of_page"></a>InfGtkBrowserView</span></h2>
<p>InfGtkBrowserView</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="InfGtkBrowserView.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">                    <a class="link" href="InfGtkBrowserView.html#InfGtkBrowserView-struct" title="InfGtkBrowserView">InfGtkBrowserView</a>;
<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="InfGtkBrowserView.html#inf-gtk-browser-view-new" title="inf_gtk_browser_view_new ()">inf_gtk_browser_view_new</a>            (<em class="parameter"><code><span class="type">void</span></code></em>);
<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="InfGtkBrowserView.html#inf-gtk-browser-view-new-with-model" title="inf_gtk_browser_view_new_with_model ()">inf_gtk_browser_view_new_with_model</a> (<em class="parameter"><code><a class="link" href="libinfgtk-0.4-inf-gtk-browser-model.html#InfGtkBrowserModel"><span class="type">InfGtkBrowserModel</span></a> *model</code></em>);
<a class="link" href="libinfgtk-0.4-inf-gtk-browser-model.html#InfGtkBrowserModel"><span class="returnvalue">InfGtkBrowserModel</span></a> * <a class="link" href="InfGtkBrowserView.html#inf-gtk-browser-view-get-model" title="inf_gtk_browser_view_get_model ()">inf_gtk_browser_view_get_model</a>     (<em class="parameter"><code><a class="link" href="InfGtkBrowserView.html" title="InfGtkBrowserView"><span class="type">InfGtkBrowserView</span></a> *view</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="InfGtkBrowserView.html#inf-gtk-browser-view-get-selected" title="inf_gtk_browser_view_get_selected ()">inf_gtk_browser_view_get_selected</a>   (<em class="parameter"><code><a class="link" href="InfGtkBrowserView.html" title="InfGtkBrowserView"><span class="type">InfGtkBrowserView</span></a> *view</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> *iter</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="InfGtkBrowserView.html#inf-gtk-browser-view-set-selected" title="inf_gtk_browser_view_set_selected ()">inf_gtk_browser_view_set_selected</a>   (<em class="parameter"><code><a class="link" href="InfGtkBrowserView.html" title="InfGtkBrowserView"><span class="type">InfGtkBrowserView</span></a> *view</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> *iter</code></em>);
</pre>
</div>
<div class="refsect1" title="Object Hierarchy">
<a name="InfGtkBrowserView.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
   +----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
         +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkObject.html">GtkObject</a>
               +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html">GtkWidget</a>
                     +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkContainer.html">GtkContainer</a>
                           +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkBin.html">GtkBin</a>
                                 +----InfGtkBrowserView
</pre>
</div>
<div class="refsect1" title="Implemented Interfaces">
<a name="InfGtkBrowserView.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
InfGtkBrowserView implements
 AtkImplementorIface and  <a href="http://library.gnome.org/devel/gtk/unstable/gtk-gtkbuildable.html#GtkBuildable">GtkBuildable</a>.</p>
</div>
<div class="refsect1" title="Properties">
<a name="InfGtkBrowserView.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a class="link" href="InfGtkBrowserView.html#InfGtkBrowserView--model" title='The "model" property'>model</a>"                    <a class="link" href="libinfgtk-0.4-inf-gtk-browser-model.html#InfGtkBrowserModel"><span class="type">InfGtkBrowserModel</span></a>*   : Read / Write / Construct
</pre>
</div>
<div class="refsect1" title="Signals">
<a name="InfGtkBrowserView.signals"></a><h2>Signals</h2>
<pre class="synopsis">
  "<a class="link" href="InfGtkBrowserView.html#InfGtkBrowserView-activate" title='The "activate" signal'>activate</a>"                                       : Run Last
  "<a class="link" href="InfGtkBrowserView.html#InfGtkBrowserView-populate-popup" title='The "populate-popup" signal'>populate-popup</a>"                                 : Run Last
  "<a class="link" href="InfGtkBrowserView.html#InfGtkBrowserView-selection-changed" title='The "selection-changed" signal'>selection-changed</a>"                              : Run Last
  "<a class="link" href="InfGtkBrowserView.html#InfGtkBrowserView-set-scroll-adjustments" title='The "set-scroll-adjustments" signal'>set-scroll-adjustments</a>"                         : Run Last / Action
</pre>
</div>
<div class="refsect1" title="Description">
<a name="InfGtkBrowserView.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" title="Details">
<a name="InfGtkBrowserView.details"></a><h2>Details</h2>
<div class="refsect2" title="InfGtkBrowserView">
<a name="InfGtkBrowserView-struct"></a><h3>InfGtkBrowserView</h3>
<pre class="programlisting">typedef struct _InfGtkBrowserView InfGtkBrowserView;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="inf_gtk_browser_view_new ()">
<a name="inf-gtk-browser-view-new"></a><h3>inf_gtk_browser_view_new ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         inf_gtk_browser_view_new            (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Creates a new <a class="link" href="InfGtkBrowserView.html" title="InfGtkBrowserView"><span class="type">InfGtkBrowserView</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> A new <a class="link" href="InfGtkBrowserView.html" title="InfGtkBrowserView"><span class="type">InfGtkBrowserView</span></a>.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_gtk_browser_view_new_with_model ()">
<a name="inf-gtk-browser-view-new-with-model"></a><h3>inf_gtk_browser_view_new_with_model ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         inf_gtk_browser_view_new_with_model (<em class="parameter"><code><a class="link" href="libinfgtk-0.4-inf-gtk-browser-model.html#InfGtkBrowserModel"><span class="type">InfGtkBrowserModel</span></a> *model</code></em>);</pre>
<p>
Creates a new <a class="link" href="InfGtkBrowserView.html" title="InfGtkBrowserView"><span class="type">InfGtkBrowserView</span></a> showing <em class="parameter"><code>model</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
<td>A <a class="link" href="libinfgtk-0.4-inf-gtk-browser-model.html#InfGtkBrowserModel"><span class="type">InfGtkBrowserModel</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> A new <a class="link" href="InfGtkBrowserView.html" title="InfGtkBrowserView"><span class="type">InfGtkBrowserView</span></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_gtk_browser_view_get_model ()">
<a name="inf-gtk-browser-view-get-model"></a><h3>inf_gtk_browser_view_get_model ()</h3>
<pre class="programlisting"><a class="link" href="libinfgtk-0.4-inf-gtk-browser-model.html#InfGtkBrowserModel"><span class="returnvalue">InfGtkBrowserModel</span></a> * inf_gtk_browser_view_get_model     (<em class="parameter"><code><a class="link" href="InfGtkBrowserView.html" title="InfGtkBrowserView"><span class="type">InfGtkBrowserView</span></a> *view</code></em>);</pre>
<p>
Returns the model displayed by <em class="parameter"><code>view</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
<td>A <a class="link" href="InfGtkBrowserView.html" title="InfGtkBrowserView"><span class="type">InfGtkBrowserView</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> A <a class="link" href="libinfgtk-0.4-inf-gtk-browser-model.html#InfGtkBrowserModel"><span class="type">InfGtkBrowserModel</span></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_gtk_browser_view_get_selected ()">
<a name="inf-gtk-browser-view-get-selected"></a><h3>inf_gtk_browser_view_get_selected ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            inf_gtk_browser_view_get_selected   (<em class="parameter"><code><a class="link" href="InfGtkBrowserView.html" title="InfGtkBrowserView"><span class="type">InfGtkBrowserView</span></a> *view</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> *iter</code></em>);</pre>
<p>
Sets <em class="parameter"><code>iter</code></em> to point to the currently selected row in the browser view. If
no row is selected, <em class="parameter"><code>iter</code></em> is left untouched and <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is returned.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
<td>A <a class="link" href="InfGtkBrowserView.html" title="InfGtkBrowserView"><span class="type">InfGtkBrowserView</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>An uninitialized <a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> Whether <em class="parameter"><code>iter</code></em> was set.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_gtk_browser_view_set_selected ()">
<a name="inf-gtk-browser-view-set-selected"></a><h3>inf_gtk_browser_view_set_selected ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                inf_gtk_browser_view_set_selected   (<em class="parameter"><code><a class="link" href="InfGtkBrowserView.html" title="InfGtkBrowserView"><span class="type">InfGtkBrowserView</span></a> *view</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> *iter</code></em>);</pre>
<p>
Sets the currently selected row to be <em class="parameter"><code>iter</code></em>. If necessary, rows will be
expanded so that <em class="parameter"><code>iter</code></em> is visible.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
<td>A <a class="link" href="InfGtkBrowserView.html" title="InfGtkBrowserView"><span class="type">InfGtkBrowserView</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>A <a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> pointing to a row in <em class="parameter"><code>view</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" title="Property Details">
<a name="InfGtkBrowserView.property-details"></a><h2>Property Details</h2>
<div class="refsect2" title='The "model" property'>
<a name="InfGtkBrowserView--model"></a><h3>The <code class="literal">"model"</code> property</h3>
<pre class="programlisting">  "model"                    <a class="link" href="libinfgtk-0.4-inf-gtk-browser-model.html#InfGtkBrowserModel"><span class="type">InfGtkBrowserModel</span></a>*   : Read / Write / Construct</pre>
<p>The model to display.</p>
</div>
</div>
<div class="refsect1" title="Signal Details">
<a name="InfGtkBrowserView.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2" title='The "activate" signal'>
<a name="InfGtkBrowserView-activate"></a><h3>The <code class="literal">"activate"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="InfGtkBrowserView.html" title="InfGtkBrowserView"><span class="type">InfGtkBrowserView</span></a> *infgtkbrowserview,
                                                        <a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a>       *arg1,
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>           user_data)              : Run Last</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>infgtkbrowserview</code></em> :</span></p></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>arg1</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title='The "populate-popup" signal'>
<a name="InfGtkBrowserView-populate-popup"></a><h3>The <code class="literal">"populate-popup"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="InfGtkBrowserView.html" title="InfGtkBrowserView"><span class="type">InfGtkBrowserView</span></a> *infgtkbrowserview,
                                                        <a href="http://library.gnome.org/devel/gtk/unstable/GtkMenu.html"><span class="type">GtkMenu</span></a>           *arg1,
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>           user_data)              : Run Last</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>infgtkbrowserview</code></em> :</span></p></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>arg1</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title='The "selection-changed" signal'>
<a name="InfGtkBrowserView-selection-changed"></a><h3>The <code class="literal">"selection-changed"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="InfGtkBrowserView.html" title="InfGtkBrowserView"><span class="type">InfGtkBrowserView</span></a> *infgtkbrowserview,
                                                        <a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a>       *arg1,
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>           user_data)              : Run Last</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>infgtkbrowserview</code></em> :</span></p></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>arg1</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title='The "set-scroll-adjustments" signal'>
<a name="InfGtkBrowserView-set-scroll-adjustments"></a><h3>The <code class="literal">"set-scroll-adjustments"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="InfGtkBrowserView.html" title="InfGtkBrowserView"><span class="type">InfGtkBrowserView</span></a> *infgtkbrowserview,
                                                        <a href="http://library.gnome.org/devel/gtk/unstable/GtkAdjustment.html"><span class="type">GtkAdjustment</span></a>     *arg1,
                                                        <a href="http://library.gnome.org/devel/gtk/unstable/GtkAdjustment.html"><span class="type">GtkAdjustment</span></a>     *arg2,
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>           user_data)              : Run Last / Action</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>infgtkbrowserview</code></em> :</span></p></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>arg1</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>arg2</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.15</div>
</body>
</html>